package chapitre3;
import java.util.*;
public class Execise6 {
	public static void compare(int s1, int s2){
		if (s1==s2)
			System.out.println(s1+" == "+s2);
		else if(s1<s2)
			System.out.println(s1+" << "+s2);
		else if(s1>s2)
			System.out.println(s1+" >> "+s2);
		
	}
	public static void main(String[] args){
		Random rand = new Random();
		int currentInt;
		int nextInt=rand.nextInt();
		while(true){
			currentInt=nextInt;
			nextInt=rand.nextInt(10);
			compare(currentInt,nextInt);
		}
		
	}
}
